build: Turn on more warning flags
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Oct 2017 14:13:45 +0000 (16:13 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 6 Oct 2017 19:23:39 +0000 (21:23 +0200)
-Wshadow these days does not overwarn anymore like it did in gcc 4.
There are no warnings inside gtk, so better enable it to keep it that
way.

-Wuninitialized also has no positives, so I'm gonna turn it on just
because.

meson.build

index cc449733e1505b6b291a0b04c32df0db290c9dbf..545e16d9bafda9e6040493c2512bf1702c836b8f 100644 (file)
@@ -247,8 +247,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
     '-Wmissing-format-attribute',
     '-Wmissing-include-dirs',
     '-Wlogical-op',
-    '-Wno-uninitialized',
-    '-Wno-shadow',
     '-Werror=redundant-decls',
     '-Werror=implicit',
     '-Werror=nonnull',